package com.xiguaji.tiktok.v1.ins.blogger.model;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

@Table(value = "ins_blogger")
@Data
public class InsBlogger {

    /**
     *
     */
    @Id
    private Long id;

    /**
     * 博主id
     */
    private Long uid;

    /**
     * 用户名
     */
    private String username;

    /**
     * 全名
     */
    @Column(value = "full_name")
    private String fullName;

    /**
     * 头像地址
     */
    @Column(value = "pic_url")
    private String picUrl;

    /**
     * 其他主页链接
     */
    @Column(value = "external_url")
    private String externalUrl;

    /**
     * 个人简述
     */
    private String biography;

    /**
     * 关注数
     */
    @Column(value = "following_count")
    private Integer followingCount;

    /**
     * 关注品牌数
     */
    @Column(value = "following_brand_count")
    private Integer followingBrandCount;

    /**
     * 粉丝数
     */
    @Column(value = "follower_count")
    private Long followerCount;

    /**
     * 粉丝量级(关联量级表)
     */
    @Column(value = "follower_size")
    private Integer followerSize;

    /**
     * 真实粉丝占比
     */
    @Column(value = "real_follower_rate")
    private Double realFollowerRate;

    /**
     * 近30天粉丝增长数
     */
    @Column(value = "last_follower_grow")
    private Long lastFollowerGrow;

    /**
     * 近30天粉丝增长率
     */
    @Column(value = "last_follower_grow_rate")
    private Double lastFollowerGrowRate;

    /**
     * 帖子数
     */
    @Column(value = "media_count")
    private Integer mediaCount;

    /**
     * igtv数
     */
    @Column(value = "igtv_count")
    private Integer igtvCount;

    /**
     * 标记数
     */
    @Column(value = "following_tag_count")
    private Integer followingTagCount;

    /**
     * 被标记数
     */
    @Column(value = "usertags_count")
    private Integer usertagsCount;

    /**
     * 是否认证
     */
    @Column(value = "is_verified")
    private Boolean isVerified;

    /**
     * 是否商业账号
     */
    @Column(value = "is_business")
    private Boolean isBusiness;

    /**
     * 账号类型(未认证：1；认证且商业：2；认证非商业：3)
     */
    @Column(value = "account_type")
    private Integer accountType;

    /**
     * 一级分类
     */
    @Column(value = "overall_category_name")
    private String overallCategoryName;

    /**
     * 二级分类
     */
    @Column(value = "category_name")
    private String categoryName;

    /**
     * fackbook id
     */
    private Long fbid;

    /**
     * 联系电话
     */
    @Column(value = "contact_phone_number")
    private String contactPhoneNumber;

    /**
     * 公开邮箱
     */
    @Column(value = "public_email")
    private String publicEmail;

    /**
     * 公开电话国家码
     */
    @Column(value = "public_phone_country_code")
    private String publicPhoneCountryCode;

    /**
     * 公开电话
     */
    @Column(value = "public_phone_number")
    private String publicPhoneNumber;

    /**
     * 国家(映射分析出来的)
     */
    private String nation;

    /**
     * 年龄(0:未分析;1:未知;其余的该是几岁就几岁)
     */
    private Integer age;

    /**
     * 出生年（用来后面每年更新已经分析过的年龄）
     */
    private Integer birthday;

    /**
     * 性别(0:未分析;1:未知;2:女;3:男;4:qps_full;5:pic_error;6:impl_error)
     */
    private Integer gender;

    /**
     * 语言
     */
    private String language;

    /**
     * 人种
     */
    private String race;
}